package com.czapl.tabs;

import com.badlogic.gdx.scenes.scene2d.ui.Image;
import com.badlogic.gdx.scenes.scene2d.ui.Label;
import com.badlogic.gdx.scenes.scene2d.ui.Table;
import com.badlogic.gdx.scenes.scene2d.ui.TextButton;
import com.badlogic.gdx.scenes.scene2d.ui.TextButton.TextButtonStyle;
import com.czapl.mygdxgame.ConstructableField;
import com.czapl.mygdxgame.MyGdxGame;


public class CellInfoTab extends CTab {

	public CellInfoTab(ConstructableField field) {
		TextButtonStyle buttonStyle = MyGdxGame.skin.get("default", TextButtonStyle.class);
		TextButton btn = new TextButton("Upgrade", buttonStyle);
        add(btn).size(UIDefender.MENU_WIDTH, 50);
        row();
        Image image = new Image();
        add(image);
        row();
        Label label = new Label("cell ("+field.getCoordinates().getX()+","+field.getCoordinates().getY()+")", MyGdxGame.skin);
        add(label);
	}

}

